<?xml version="1.0" encoding="UTF-8"?>
<wicket:panel>
<div class="subcolumns equalize example1">
  <div class="c50l">
    <div class="subcl">
      <!-- Insert your subtemplate content here -->
      <h6>部门列表</h6>
      	<form method="post" action="" wicket:id="deptListForm" class="yform" role="application">
	       <div class="type-button">
	          <input type="submit" value="增加部门/团队" wicket:id="addDepteButt" class="submit" />
	      </div>
	        <div class="type-text" style="text-align:center;">
	        	<label>点击部门进行修改</label>
				<select style="width:250px;" size="15" wicket:id="deptList"></select>
			</div>
		</form>
    </div>
  </div>
  <div class="c50r">
    <div class="subc">
      <!-- Insert your subtemplate content here -->
      <h6>部门维护</h6>
		
		<form method="post" action="" wicket:id="deptUpdateForm" class="yform" role="application">
			<input type="hidden" wicket:id="deptId" />
				<div class="feedbackSpan" wicket:id="feedback"></div><script type="text/javascript">if($('#feedbackPanel').html() == '') {$('#feedbackPanel').hide();}</script>
			        <div class="type-text">
			           <label>部门/团队名称<span style="color:red;">*</span></label>
			           <input type="text" wicket:id="deptName" size="20" />
			         </div>
			        <div class="type-text">
			        	<label>上级部门/团队</label>
						<select style="width:200px;" wicket:id="depts"></select>
			         	<input type="hidden" wicket:id="fatherId" />
			 			<input type="text" contentEditable="false" wicket:id="fatherName" size="20" />
					</div>
					<div class="type-text" style="display:none;">
			        	<label>部门/团队负责人</label>
						<select style="width:200px;" wicket:id="staffs"></select>
			         	<input type="hidden" wicket:id="userId" />
			 			<input type="text" contentEditable="false" wicket:id="userName" size="20" />
					</div>
			         <div class="type-button">
			         	<input type="submit" value="增加" wicket:id="addDeptButt"  class="submit" />
				          <input type="submit" value="修改" wicket:id="updateDeptButt"  class="submit" />
				          <input type="button" value="删除" wicket:id="deleteDeptButt"  class="submit" onclick="$($(this).next()).slideToggle('fast')" />
				          <div class="important" style="margin-left:120px;display:none;">
							<a wicket:id="deleteDeptLink">确定删除?</a>&nbsp;&nbsp;&nbsp;
							<a href="javascript:void(0);" onclick="$($(this).parent()).slideToggle('fast')">取消</a>
							</div>
				      </div>
			</form>
		      
    </div>
  </div>
</div>
</wicket:panel>